home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8"?> <html><head><title>UCase Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03120310"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css"> p.P1{ } p.P2{ } span.T1{ font-weight:bold;} </style></head><body> <help:to-be-embedded Eid="ucase" xmlns:help="http://openoffice.org/2000/help"><a name="ucase"/> <p class="Head1"><help:link Id="66399">UCase Function [Runtime]</help:link></p> <p class="Paragraph">Converts characters in a string to uppercase. Only lowercase letters in a string are affected. Uppercase letters and all other characters remain unchanged.</p> </help:to-be-embedded> <p class="Paragraph">See also: <help:link Id="66522" Eid="lcase" xmlns:help="http://openoffice.org/2000/help">LCase Function</help:link></p> <p class="Paragraph"><span class="T1">Syntax</span>:</p> <p class="Paragraph">UCase (Text As String) <help:key-word value="UCase" tag="kw66399_1" xmlns:help="http://openoffice.org/2000/help"/></p> <p class="Paragraph"><span class="T1">Return value</span>:</p> <p class="Paragraph">String</p> <p class="Paragraph"><span class="T1">Parameter</span>:</p> <p class="Paragraph">Text : Any string expression to be converted.</p> <p class="P2">Example:</p> <p class="PropText">Sub ExampleLUCase</p> <p class="PropText">Dim sVar As String</p> <p class="PropText">sVar = "Las Vegas"</p> <p class="PropText">Print LCase(sVar) REM returns "las vegas"</p> <p class="PropText">Print UCase(sVar) REM returns "LAS VEGAS"</p> <p class="PropText">end Sub</p> <p class="PropText"/> </body></html>